package com.speily.javabase.class_test;


import org.junit.Test;

/**
 * @Auther: SPL
 * @Date: 2019-07-31 10:12
 * @Description: - 类加载器 测试
 */
public class ClassLoaderTest {


    @Test
    public void test(){
        System.out.println(this.getClass().getClassLoader());//Launcher$AppClassLoader
        System.out.println(this.getClass().getClassLoader().getParent());//Launcher$ExtClassLoader
        System.out.println(this.getClass().getClassLoader().getParent().getParent());// BootstarapClassLoader
    }


}
